﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Poliduct.Master" Inherits="System.Web.Mvc.ViewPage<SIOCUR.Models.RASTREO_DE_LOTE>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Rastreo de Lote
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Rastreo de Lote</h2>

    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>
        
        <fieldset>
            <div class="editor-label">
                <%: Html.LabelFor(model => model.LOTE) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.LOTE) %>
                <%: Html.ValidationMessageFor(model => model.LOTE) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.AÑO) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.AÑO) %>
                <%: Html.ValidationMessageFor(model => model.AÑO) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.VOLUMEN) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.VOLUMEN) %>
                <%: Html.ValidationMessageFor(model => model.VOLUMEN) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.KM_INICIAL) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.KM_INICIAL, String.Format("{0:F}", Model.KM_INICIAL)) %>
                <%: Html.ValidationMessageFor(model => model.KM_INICIAL) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.KM_FINAL) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.KM_FINAL, String.Format("{0:F}", Model.KM_FINAL)) %>
                <%: Html.ValidationMessageFor(model => model.KM_FINAL) %>
            </div>
                       
            <p>
                <input type="submit" value="Guardar Cambios" />
            </p>
        </fieldset>

    <% } %>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="MenuIzq" runat="server">
<% Html.RenderPartial("MenuIzq"); %>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="Tab2" runat="server">
<p>
</p>
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="Foot" runat="server">
    <!--<a>Condiciones de Uso</a> | <a>Derechos Reservados</a> | <a>www.pemex.com</a>-->
</asp:Content>

<asp:Content ID="Content6" ContentPlaceHolderID="nombresesion" runat="server">
 Usuario: <%: this.Session["sesionname"]%> <br />
 Sistema: <%: this.Session["sesionsistema"]%><br />
 Estacion:  <%: this.Session["sesionestacion"]%><br />
 <%: this.Session["fechhh"]%>
</asp:Content>
